package io.litchi.auth.Infrastructure.common.command.menupern;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 *
 * @author helang
 * @since 2025-12-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuPernUpdateStatusCommand {

    @NotNull(message = "未知的菜单")
    private Long id;


    @Max(value = 1, message = "错误的状态")
    @Min(value = 0, message = "错误的状态")
    private Integer status;
}